package com.campus.customer.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 公告信息VO
 *
 * @author AI Assistant
 * @since 2025-01-27
 */
@Data
@ApiModel("公告信息VO")
public class NoticeVo {
    @ApiModelProperty("公告ID")
    private Long id;

    @ApiModelProperty("公告标题")
    private String title;

    @ApiModelProperty("公告内容")
    private String content;

    @ApiModelProperty("目标类型：0-全部端，1-顾客端，2-商家端，3-配送端")
    private Integer targetType;

    @ApiModelProperty("优先级：0-普通，1-重要，2-紧急")
    private Integer priority;

    @ApiModelProperty("状态：0-禁用，1-启用")
    private Integer status;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("查看次数")
    private Integer viewCount;

    @ApiModelProperty("是否置顶：0-否，1-是")
    private Integer isTop;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}